<template>
  <div class="my-income-layout">
    <snackbar style-color="#4A4A4A"
              back-color="#ffffff"
              status-color="#ffffff"
              rightText="搜索"
              :fixed="true">
      <template slot="slot">
      </template>
    </snackbar>
    <div id="divMax">
        <div class="modular">
          <div class="li_One">
              <div class="liTitle">倒土场1</div>
              <input class="li_Input" type="button" value="设置定位">
          </div>
          <div class="li_Two">
              <div class="div_rigth">创建日期&nbsp;:&nbsp;2021-5-21</div>
              <div class="date_rigth">开工日期&nbsp;:&nbsp;2021-5-21</div>
          </div>
        </div>
         <div class="modular">
           <div class="li_One">
               <div class="liTitle">倒土场2</div>
               <input class="li_Input" type="button" value="设置定位">
           </div>
           <div class="li_Two">
               <div class="div_rigth">创建日期&nbsp;:&nbsp;2021-5-21</div>
               <div class="date_rigth">开工日期&nbsp;:&nbsp;2021-5-21</div>
           </div>
         </div>
    </div>
    <div class="bottom-layout">
      <span class="rests-btn">项目情况</span>
    </div>
  </div>
</template>

<script>
</script>

<style lang="scss" scoped>

  .my-income-layout {
    .top-layout {
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(219, 219, 219, 0.5);
      width: 100vw;
      background-color: white;

      .tebs-layout {
        width: 100vw;
      }
    }

    .bottom-layout {
      position: fixed;
      bottom: 0px;
      width: 100vw;
      height: 47px;
      display: flex;
      flex-direction: row;


      .rests-btn {
        width: 100vw;
        height: 47px;
        background: #FFFFFF;
        display: flex;
        flex-direction: row;
        padding-left: 11%;
        // justify-content: center;
        align-items: center;
        border-top: 1px solid rgba(221, 220, 220, 0.5);
        font-size: 14px;
        color: #65C368;
      }

      .add-btn {
        flex: 1;
        height: 47px;
        background: linear-gradient(221deg, #7ED785 0%, #64C367 100%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        font-size: 14px;
        color: #FFFFFF;
      }
    }

  }
  //
  // * {
  //     margin: 0;
  //     padding: 0;
  // }

  .modular {
      margin: 0 auto;
      margin-top: 4.11%;
      width: 83.28%;
      background-color: #FFFFFF;
      /* 如果要改这li的背景颜色，那么设置定位的按钮也要改背景颜色 */
      list-style: none;
      border-radius: 6px;
      padding-top: 4.36%;
      margin-bottom: 10px;
  }

  .li_One {
      width: 100%;
      height: 25px;
      line-height: 25px;
      position: relative;
  }

  .liTitle {
      background-color: #65C368;
      margin-left: 3.1%;
      width: 21.59%;
      height: 100%;
      text-align: center;
      // line-height: 100%;
      border-radius: 6px;
      color: #ffffff;
      float: left;
      font-size: 39.5%;
  }

  .li_Input {
      float: right;
      background-color: #FFFFFF;
      border: none;
      width: 17.7%;
      height: 84%;
      margin: 2.2% 6% 0px 0px;
      position: relative;
      bottom: 21%;
      // color: #000000;
  }

  .li_Two {
      width: 100%;
      height: 20px;
      display: flex;
      margin: 3.63% 0px 0px 3.1%;
      padding-bottom: 5.95%;
      color: #B4B4B4;
  }

  .li_Two>div {
      width: 41.3%;
      font-size: 90%;
  }

  .div_rigth {
      margin-right: 8%;
  }
  .date_rigth{
    text-align: right;
  }
</style>
